<?php
if (!isset($_REQUEST['id']) || $_REQUEST['id'] > 20)
  echo json_encode(array("id"=>"12", "name"=>"Json", "avatar"=>"./static/img/1.jpg", "mate"=>array("id"=>"131", "name"=>"Hilari", "avatar"=>"./static/img/12.jpg"),
		       "children"=>array(array("id"=>"13", "name"=>"Borne", "mate"=>array("id"=>"131", "name"=>"Hilari", "avatar"=>"./static/img/3.jpg"), "avatar"=>"./static/img/21.jpg"), 
					 array("id"=>"14", "name"=>"Clinton", "avatar"=>"./static/img/3.jpg", "mate"=>array("id"=>"131", "name"=>"Hilari", "avatar"=>"./static/img/16.jpg")),
					 array("id"=>"15", "name"=>"Marry", "avatar"=>"./static/img/3.jpg", "mate"=>array("id"=>"131", "name"=>"Hilari", "avatar"=>"./static/img/31.jpg")),
					 array("id"=>"16", "name"=>"Jonse", "avatar"=>"./static/img/3.jpg", "children"=>
					       array(array("id"=>"17", "name"=>"Marry Jonse", "avatar"=>"./static/img/2.jpg"), 
						     array("id"=>"18", "name"=>"吴昊", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"19", "name"=>"杨闯", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"20", "name"=>"武广", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"21", "name"=>"柳生", "avatar"=>"./static/img/3.jpg"))
					       
					       ),
					 array("id"=>"22", "name"=>"Ieles", "avatar"=>"./static/img/3.jpg", "children"=>
					       array(array("id"=>"23", "name"=>"Marry Jonse", "avatar"=>"./static/img/2.jpg"), 
						     array("id"=>"24", "name"=>"吴昊", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"25", "name"=>"杨闯", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"26", "name"=>"武广", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"273", "name"=>"柳生", "avatar"=>"./static/img/3.jpg"))
					       )
					 )));
else
  echo json_encode(array("id"=>"12", "name"=>"Json", "avatar"=>"./static/img/1.jpg", 
			 "children"=>array(array("id"=>"13", "name"=>"Borne", "avatar"=>"./static/img/2.jpg"), 
					 array("id"=>"14", "name"=>"Clinton", "avatar"=>"./static/img/3.jpg"),
					 array("id"=>"15", "name"=>"Marry", "avatar"=>"./static/img/3.jpg"),
					 array("id"=>"16", "name"=>"Jonse", "avatar"=>"./static/img/3.jpg", "children"=>
					       array(array("id"=>"17", "name"=>"Marry Jonse", "avatar"=>"./static/img/2.jpg"), 
						     array("id"=>"18", "name"=>"吴昊", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"19", "name"=>"杨闯", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"20", "name"=>"武广", "avatar"=>"./static/img/3.jpg"),
						     array("id"=>"21", "name"=>"柳生", "avatar"=>"./static/img/3.jpg"))
					       
					       ),
					 )));